From: Dani Moncayo Date: Sat, 25 Feb 2012 03:49:22 +0000 (+0800) Subject: Add a clarification to Buffers chapter of Emacs manual. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~627 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9f08629fe39d8d5983213935d4268616b3e2f2a3;p=emacs.git Add a clarification to Buffers chapter of Emacs manual. * doc/emacs/buffers.texi (Select Buffer): Mention that saving in a new file name can switch to a different major mode. --- diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 4ca884ad95a..0ce5d23b5e8 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2012-02-25 Dani Moncayo (tiny change) + + * buffers.texi (Select Buffer): Mention that saving in a new file + name can switch to a different major mode. + 2012-02-23 Glenn Morris * mini.texi (Minibuffer File, Completion Options, Repetition): diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index c3a778dd202..d0ec1103580 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi @@ -106,7 +106,9 @@ editing. The default value of the variable @code{major-mode} determines the new buffer's major mode; the default value is Fundamental mode. @xref{Major Modes}. One reason to create a new buffer is to use it for making temporary notes. If you try to save -it, Emacs asks for the file name to use. +it, Emacs asks for the file name to use, and the buffer's major mode +is re-established taking that file name into account (@pxref{Choosing +Modes}). @kindex C-x @key{LEFT} @kindex C-x @key{RIGHT}